//
//  UIImage+Extra.h
//  SLAppProduct
//
//  Created by Jianbo Cai on 2018/3/29.
//  Copyright © 2018年 Sunline. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Extra)

+ (UIImage *)getImageWithScrollView:(UITableView *)scrollView;
+ (UIImage *)getNavBarTitleImageWithTitle:(NSString *)title;
// 数组图片拼接成新图片
+ (UIImage *)componentsJoined:(NSArray *)array;
// 拼接新图片
- (UIImage *)imageByAppendingImage:(UIImage *)image;
// 将视图转化为图片
+ (UIImage*)convertImageWithView:(UIView*)v;
// 将视图某一区域转化为图片
+ (UIImage *)shotWithView:(UIView *)view scope:(CGRect)scope;

+ (UIImage *)imageFromView: (UIView *) theView   atFrame:(CGRect)r;

- (UIImage *)addQRImage;

+ (UIImage *)shareBottomQRUrl:(NSString *)url;



+ (UIImage *)createImgQRCodeWithString:(NSString *)QRString centerImage:(UIImage *)centerImage;


@end
